package com.wwtech.epp.ui.activity.work.contract;

import com.wwtech.epp.entity.SignConfig;
import com.wwtech.epp.entity.TodaySign;
import com.wwtech.epp.ui.activity.base.BasePresenter;
import com.wwtech.epp.ui.activity.base.BaseView;

import java.util.Map;

/**
 * @author hzp
 * @Package The contract for PunchCardActivity
 * @Description: $description
 * @date 2017/08/28 16:45:05
 */
public interface PunchCardContract {
    interface View extends BaseView<PunchCardContractPresenter> {
        /**
         *
         */
        void showProgressDialog();

        /**
         *
         */
        void closeProgressDialog();

        void setSignConfig(SignConfig.DataBean dataBean);

        void setTodaySignInfo(TodaySign todaySign);

        void signBack();
    }

    interface PunchCardContractPresenter extends BasePresenter {
        void getSignConfig(Map map);
        void signUpdate(Map map);
        void getSign(Map map);
        void getSignList(Map map);
    }
}